<?php

class Html_Strict_View extends Base_Inherit_View {

	public function render()
	{
		?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
<head><?php $this->head(); ?></head>
<body><?php $this->body(); ?></body>
</html><?php
	}
	
	public function head()
	{
		echo "<title>".$this->title."</title>";
		if (isset($this->css)) {
			$css = $this->css;
			if (is_string($css)) {
				$css = array($css);
			}
			foreach ($css AS $file) {
				echo "<link rel=\"stylesheet\" href=\"".$file."\" type=\"text/css\">";	
			}
		}
	}
	
	public function body()
	{
	}
}